#pragma once
#ifdef LIT_OGRE_SUPPORT

#ifndef __PHYSICS__BODY_STATE__INCLUDED__HH__
#define __PHYSICS__BODY_STATE__INCLUDED__HH__

#include <Newton.h>
#include <Ogre.h>
#include "LitPhysicsPrereqs.h"

namespace Lit
{
	namespace Physics
	{
		class LIT_API BodyState
		{
			InertialMatrix	mInertia;
			Matrix			mTransformation;
			Force			mForces;
			bool			mSaved;
		public:
			BodyState( );
			BodyState( const BodyState& rk );
			~BodyState( );

			void saveState( const Body * body );
			void restoreState( Body * body );
		};
	};
};

#endif

#endif